package com.zn.opit.miniodemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zn.opit.miniodemo.domain.dto.MinioFileChunkUploadInfoDTO;
import com.zn.opit.miniodemo.domain.entity.MinioFileChunkUploadInfo;
import com.zn.opit.miniodemo.domain.param.MinioFileChunkUploadInfoParam;

import java.util.List;

public interface MinioFileChunkUploadInfoService extends IService<MinioFileChunkUploadInfo> {

    boolean saveMinioFileChunkUploadInfo(MinioFileChunkUploadInfoParam chunkUploadInfoParam);

    List<MinioFileChunkUploadInfoDTO> listByFileMd5AndUploadId(String fileMd5, String uploadId);
}
